<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*,
				 com.kylin.common.util.*,
				 com.kylin.common.paginate.*" %>
<%@ include file="/common/include/pageExpires.jsp"%>
<%@ include file="/common/include/taglibs.jsp"%>
<%@ page import="com.kylin.module.specials.orm.Special"%>
<br>

<mytag:MyActionMsg />
<table cellspacing="0" cellpadding="0" class="lessl">
        <tr>
          <td><bean:message key="special.01"/></td>
        </tr>
      </table> 
<table cellspacing="0" cellpadding="0" class="lessl01">
<%
	if (request.getAttribute(Constants.KEY_REQUEST_RESULT) instanceof DisplayPage) {
		DisplayPage dispage = (DisplayPage) request.getAttribute(Constants.KEY_REQUEST_RESULT);
		String specialDetailUrl = "/module/special/manageSpecial.do?CMD=detailSpecial&id=";
		for (int i = 0; i < dispage.getList().size(); i++) {
			Special special = (Special) dispage.getList().get(i);
			if(special.getActive() == Special.ACTIVE_HOT || special.getActive().equals(Special.ACTIVE_HOT))
			{
				Special hot = special;
%>
	<tr class='row<%=(i % 2)%>'>
		<td align="left">
			<a href="<%=specialDetailUrl+hot.getId()%>"><%=hot.getTitle()%></a>
		</td>
	
	</tr>
<%
			}
		}
	} else {
		out.println("<tr><td>未找到热点记录</td></tr>");
	}
%>
</table>
